<section id="header">
  {template "content","top"}
  <div class="top-slide">
    <div class="search">
    </div>
    <div class="slide-content">
      <div class="slide"><a href="/plan/2"><img src="../uploadfile/2.jpg" class="img-responsive" alt=""></a></div>
      <div class="slide"><a href="/plan/1"><img src="../uploadfile/4.jpg" class="img-responsive" alt=""></a></div>
      <div class="slide"><a href="/plan/5"><img src="../uploadfile/5.jpg" class="img-responsive" alt=""></a></div>
    </div>
    <div class="prev hidden-xs"></div>
    <div class="next hidden-xs"></div>
    <div class="pagination"><div class="bullets"></div></div>
  </div>
  <nav>
    <div class="container">
      <div style="position: relative;">
        <div class="nav-content">
          {pc:content action="category" catid="0" num="25" siteid="$siteid" order="listorder ASC"}
            <div class="nav-item">
              <a href="#"><div class="buy-media"><i class="fa fa-2x fa-home"></i><h6>首页</h6></div></a>
            </div>
            {loop $data $r}
            <div class="nav-item">
              <a href="{$r[url]}"><div class="buy-media"><i class="fa fa-2x {$r[image]}"></i><h6>{$r[catname]}</h6></div></a>
            </div>
            {/loop}
          {/pc}
        </div>
      </div>
    </div>
  </nav>
</section>
